package com.sfeir.shared;

import java.io.Serializable;

/**
 * 
 * @author Oussama Zoghlami
 * @date 27/12/2011
 * 
 */
public class MatrixPoint implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private int x;
	private int y;
	private int tetrisObjectId;

	public MatrixPoint() {
	}

	/**
	 * 
	 * @param x
	 * @param y
	 * @param tetrisObjectId
	 */
	public MatrixPoint(int x, int y, int tetrisObjectId) {
		super();
		this.x = x;
		this.y = y;
		this.tetrisObjectId = tetrisObjectId;
	}

	public int getX() {
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public int getTetrisObjectId() {
		return tetrisObjectId;
	}

	public void setTetrisObjectId(int tetrisObjectId) {
		this.tetrisObjectId = tetrisObjectId;
	}

	@Override
	public String toString() {
		return x + " " + y + " " + tetrisObjectId;
	}

}
